.class public Les/vr0;
.super Les/or0;
.source "ImmutableLongValueImpl.java"

# interfaces
.implements Lorg/msgpack/value/k;


# instance fields
.field private final a:J


# direct methods
.method public constructor <init>(J)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/or0;-><init>()V

    .line 2
    iput-wide p1, p0, Les/vr0;->a:J

    return-void
.end method


# virtual methods
.method public a(Lorg/msgpack/core/MessagePacker;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    invoke-virtual {p1, v0, v1}, Lorg/msgpack/core/MessagePacker;->packLong(J)Lorg/msgpack/core/MessagePacker;

    return-void
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 7

    const/4 v0, 0x1

    if-ne p1, p0, :cond_0

    return v0

    .line 1
    :cond_0
    instance-of v1, p1, Lorg/msgpack/value/x;

    const/4 v2, 0x0

    if-nez v1, :cond_1

    return v2

    .line 2
    :cond_1
    check-cast p1, Lorg/msgpack/value/x;

    .line 3
    invoke-interface {p1}, Lorg/msgpack/value/x;->s()Z

    move-result v1

    if-nez v1, :cond_2

    return v2

    .line 4
    :cond_2
    invoke-interface {p1}, Lorg/msgpack/value/x;->h()Lorg/msgpack/value/r;

    move-result-object p1

    .line 5
    invoke-interface {p1}, Lorg/msgpack/value/r;->g()Z

    move-result v1

    if-nez v1, :cond_3

    return v2

    .line 6
    :cond_3
    iget-wide v3, p0, Les/vr0;->a:J

    invoke-interface {p1}, Lorg/msgpack/value/u;->m()J

    move-result-wide v5

    cmp-long p1, v3, v5

    if-nez p1, :cond_4

    goto :goto_0

    :cond_4
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public g()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public h()Lorg/msgpack/value/k;
    .locals 0

    return-object p0
.end method

.method public bridge synthetic h()Lorg/msgpack/value/r;
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/vr0;->h()Lorg/msgpack/value/k;

    return-object p0
.end method

.method public hashCode()I
    .locals 5

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    const-wide/32 v2, -0x80000000

    cmp-long v4, v2, v0

    if-gtz v4, :cond_0

    const-wide/32 v2, 0x7fffffff

    cmp-long v4, v0, v2

    if-gtz v4, :cond_0

    long-to-int v1, v0

    return v1

    .line 2
    :cond_0
    iget-wide v0, p0, Les/vr0;->a:J

    const/16 v2, 0x20

    ushr-long v2, v0, v2

    xor-long/2addr v0, v2

    long-to-int v1, v0

    return v1
.end method

.method public m()J
    .locals 2

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    return-wide v0
.end method

.method public n()Lorg/msgpack/value/ValueType;
    .locals 1

    .line 1
    sget-object v0, Lorg/msgpack/value/ValueType;->INTEGER:Lorg/msgpack/value/ValueType;

    return-object v0
.end method

.method public o()D
    .locals 2

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    long-to-double v0, v0

    return-wide v0
.end method

.method public p()Ljava/math/BigInteger;
    .locals 2

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    return-object v0
.end method

.method public toJson()Ljava/lang/String;
    .locals 2

    .line 1
    iget-wide v0, p0, Les/vr0;->a:J

    invoke-static {v0, v1}, Ljava/lang/Long;->toString(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/vr0;->toJson()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
